package com.example.mapper;

import com.example.entity.po.Student;
import com.example.entity.po.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {
    //所有教师信息
    List<Teacher> queryTeacher();
    //删除教师信息
    int deleteTeacher(String teacherId);
    //修改教师信息
    int updateTeacher(Teacher teacher);
    //添加教师
    int addTeacher(Teacher teacher);
    //根据教师名字对教师信息进行模糊搜索
    List<Teacher> fuzzyTeacher(String teacherName);
}
